package vo;

import org.hibernate.Session;
import org.hibernate.Transaction;

import util.HibernateUtil;

public class ItemEntradaDAO {
	public void salvarItemEntrada(ItemEntradaVO itemEntradaVO) {

		Transaction transaction = null;

		Session session = HibernateUtil.currentSession();
		transaction = session.beginTransaction();

		session.saveOrUpdate(itemEntradaVO);

		transaction.commit();

	}

}